package sensitivewords

import "strings"

func TextFilter(s string) (result string) {
	replaceSli := []string{}
	for _, s := range Words {
		replaceSli = append(replaceSli, s, "")
	}
	r := strings.NewReplacer(replaceSli...)
	result = r.Replace(s)
	return
}
